package assignment6;

import javax.swing.JFrame;

/**
 * Morse Code Translator Program which will take Morse code characters and
 * translate them to English
 * 
 * @author Terry Wasserleben CS204-21370 Prof. Jeannette Myers Due: 11/2/2011
 */
@SuppressWarnings("serial")
public class MorseCodeTranslator extends JFrame {
	
	/**
	 * Frame Constructor which will add the panel onto the JFrame
	 */
	public MorseCodeTranslator() {
		setTitle("Morse Code to English");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		MorseCodePanel mcP = new MorseCodePanel();
		getContentPane().add(mcP);
	}
	
	/**
	 * Program execution begins at this method
	 * 
	 * @param args nothing passed through
	 */
	public static void main(String[] args) {
		JFrame mcF = new MorseCodeTranslator();
		mcF.pack();
		mcF.setVisible(true);
		
	}
	
}
